import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    cat_id:''
  },
  mutations: {
    editId(state,query){
      state.cat_id = query
    }
  },
  actions: {
    editA(context,query){
      context.commit('editId',query)
    }
  },
  modules: {
  }
})
